#include"Heap.h"

int main()
{
	Heap hp;
	HeapInint(&hp);
	//for (int i = 0; i < 10; i++)
	//{
	//	HeapPush(&hp, i);
	//}
	int arr[]= { 0,1,2,3,4,5,6,7,8,9 };
	HeapCreate(&hp, arr, 10);
	while (!HeapEmpty(&hp))
	{
		int top = HeapTop(&hp);
		printf("%d ", top);
		HeapPop(&hp);
	}


	return 0;
}